package edu.haiu.training.ui;
public class TagAction{
	
	private String actionType;

	public String execute() throws Exception{
		String result = "";
		if(actionType.equals("userManagement"))
			result = "users";
		else if(actionType.equals("contentManagement"))
			result = "content";
		return result;
	}
	public String execute1() throws Exception{
		String result = "";
		if(actionType.equals("add"))
			result = "add";
		else if(actionType.equals("edit"))
			result = "edit";
		else if(actionType.equals("delete"))
			result = "delete";
		return result;
	}
	
	public String getActionType() {
		return actionType;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}
}
